package mn.idax.exchange.otc.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import mn.idax.exchange.common.bean.IdaxBase;
import java.util.Date;
/**
 * Create by jack_huang on 2018/8/8
 */
@Getter
@Setter
@ApiModel(value = "OrderPageParamsDTO",description = "订单分页请求对象")
public class OrderPageParamsDTO extends IdaxBase{
    private static final long serialVersionUID = -3460650244492236679L;

    @ApiModelProperty(value = "订单号")
    private String orderNum;

    @ApiModelProperty(value = "订单类型 1 买单 2 卖单 3 所有")
    private Integer orderType;

    @ApiModelProperty(value = "交易状态 交易中（1）   已完成（2）   已取消（3） ")
    private Integer orderState;

    @ApiModelProperty(value = "币种")
    private String pair;

    @JsonFormat(locale="zh",  pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "开始时间")
    private Date startTime;

    @JsonFormat(locale="zh",  pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "当前页")
    private Integer pageIndex;//当前页

    @ApiModelProperty(value = "每页显示数量")
    private Integer pageSize;//每页显示数量

}
